home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / strn / INSTALL < prev    next >
Encoding:
Text File  |  1995-07-14  |  2.5 KB  |  58 lines

  1. Installation guide to strn.
  2.  
  3. 1.  Get the current version of the strn distribution.
  4.     (Apply any official patches if needed.)
  5.  
  6. 2.  Read the file README in the src directory first.  That will lead
  7. you to the file INSTALL for trn's installation instuctions.  Follow
  8. them up to the final installation step.
  9.  
  10. 3.  When you type "make install", you will be given a list of options
  11. for the strn installation.  If you wish to share the trn libraries with
  12. trn 3.4 (or later), and trn 3.4 (or later) is already installed, type
  13. "make install.strn".  If you do not have trn installed, or you want
  14. strn to use a separate library directory, type "make install.full"
  15. Note: the installation process does not strip the strn binary--you
  16. must do that yourself.
  17.  
  18. 4.  Type "make install.help" to install the help files in the library
  19. directory.  If the help files were installed, they will be moved to
  20. help.old.  (The old copy is kept in case local changes were made.)
  21.  
  22.     You're finished!  Have fun with strn.
  23.  
  24.                 --Cliff
  25.  
  26. Possible installation problems:
  27.  
  28. 1.  Strn is written on top of trn, which has taken great care to be portable.
  29. Still, strn may not work properly on some machines.  If you get
  30. compilation errors, read the instructions below.  If those
  31. instructions do not solve the problem, please mail the errors, and any
  32. other relevant information to me <caadams@access.digex.net>.  Any "detective"
  33. work will be greatly appreciated.
  34.  
  35. 2.  Some features of strn could cause problems on some systems.
  36. One of these features is the "nice background" option controlled by the
  37. NICEBG option.  If you have problems with keyboard input, you might
  38. want to try disabling this option (send me mail if you have problems).
  39. You can disable NICEBG by editing config.h and searching for a line like:
  40. #define NICEBG /* */
  41. ...and changing it to:
  42. /* #define NICEBG /* */
  43.  
  44. 3.  If you have problems compiling "term.c", try undefining the NICEBG
  45. option.  (You shouldn't need to do this, since it is now checked for
  46. at Configure time.)
  47.  
  48. 4.  SGI machines running Irix and the system-provided cc may need the
  49. -common option to work.  (GCC compiled strn perfectly on that machine.)
  50.  
  51. 5.  If you do not have the strstr function in your standard C
  52. libraries, look for the new #define option HAVE_STRSTR, at the end
  53. of config.h (it is defined by default)  If you do *not* have the strstr
  54. function in your standard C libraries, edit config.h and comment out
  55. the #define HAVE_STRSTR statement, then recompile strn.  Later I hope
  56. to have strstr detected automatically.  (The config.h file is produced
  57. by running Configure.)
  58.